<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>大图jQuery多屏首页焦点图代码</title>

<link rel="stylesheet" type="text/css" href="css/style.css">

<script src="js/jquery1.42.min.js" type="text/javascript"></script>
<script src="js/jquery.superslide.2.1.1.js" type="text/javascript"></script>

</head>
<body>

<div class="focus">
	<ul class="focuspic">
		<li><a href="http://www.17sucai.com/" target="_blank"><img src="images/0.jpg" /></a></li>
		<li><a href="http://www.17sucai.com/" target="_blank"><img src="images/1.jpg" /></a></li>
		<li><a href="http://www.17sucai.com/" target="_blank"><img src="images/2.jpg" /></a></li>
		<li><a href="http://www.17sucai.com/" target="_blank"><img src="images/3.jpg" /></a></li>
		<li><a href="http://www.17sucai.com/" target="_blank"><img src="images/4.jpg" /></a></li>
		<li><a href="http://www.17sucai.com/" target="_blank"><img src="images/5.jpg" /></a></li>
		<li><a href="http://www.17sucai.com/" target="_blank"><img src="images/6.jpg" /></a></li>
		<li><a href="http://www.17sucai.com/" target="_blank"><img src="images/7.jpg" /></a></li>
	</ul>
	<a class="prev" href="javascript:void(0)"></a>
	<a class="next" href="javascript:void(0)"></a>
	<div class="num">
		<ul></ul>
	</div>
</div>

<script type="text/javascript">
$(document).ready(function(){

	/*鼠标移过，左右按钮显示*/
	$(".focus").hover(function(){
		$(this).find(".prev,.next").fadeTo("show",0.1);
	},function(){
		$(this).find(".prev,.next").hide();
	})
	
	/*鼠标移过某个按钮 高亮显示*/
	$(".prev,.next").hover(function(){
		$(this).fadeTo("show",0.7);
	},function(){
		$(this).fadeTo("show",0.1);
	})
	
	$(".focus").slide({
		titCell:".num ul",
		mainCell:".focuspic",
		effect:"fold", //fade：渐显；|| left：左滚动；|| fold：淡入淡出
		autoPlay:true,
		delayTime:700,
		autoPage:true
	});
	
});
</script>
</body>
</html>
